<?php

namespace app\api\controller;

use think\Controller;
use think\Db;
use email\Smtp;

class CountTips extends Controller
{
    public function uvisit($limit = 15){
        $result = Db::name('adcount')->where('status',1)->order('n_count_visit desc')->limit($limit)->column('count_url');
        return json(['url'=>$result]);
    }
}